import request from "@/utils/request";

let SYSTEM = '/service-system'

//分页查询
export function listForPageLoginLog(query){
  return request({
    url: SYSTEM+'/system/listForPageLoginLog',
    method: 'get',
    params: query
  })
}

// 根据选中id删除
export function deleteLoginLogByIds(ids){
  return request({
    url: SYSTEM + '/system/deleteLoginLogByIds/' + ids,
    method: 'delete'
  })
}

//清空日志
export function clearAllLoginLog(){
  return request({
    url: SYSTEM + '/system/clearAllLoginLog',
    method: 'delete'
  })
}
